﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Win.master" AutoEventWireup="true" CodeBehind="NoticeAdd.aspx.cs" Inherits="Runda.EShop.SaaS.SysManage.NoticeAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
<script type="text/javascript">
    function CheckForm() {
        if ($('#<%=txtTitle.ClientID %>').val() == '') { 
            alert('请输入公告标题.');
            return false;
        }
       
    }
  </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <table cellspacing="3px" cellpadding="3px" width="100%" class="i_center_table11">
        <tr>
            <td>
                标题
            </td>
            <td>
                <asp:TextBox ID="txtTitle" runat="server" Width="250px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                内容
            </td>
            <td>
                <asp:TextBox ID="txtContent" runat="server" Height="67px" TextMode="MultiLine" Width="250px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" OnClientClick="return CheckForm();" />
                &nbsp;<input id="btnClose" type="button" value="关闭" class="button" onclick="parent.$.ligerDialog.hide();" />
            </td>
        </tr>
    </table>
</asp:Content>
